package org.theSeed.fileContract.pojo.vo;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

@Getter
@Setter
public class SeedUploadChipFileInitVo  {
    public SeedUploadChipFileInitVo() {
    }

    public SeedUploadChipFileInitVo(String resourceId, Long chipFileSize, Integer chipSize) {
        this.resourceId = resourceId;
        this.chipFileSize = chipFileSize;
        this.chipSize = chipSize;
    }

    /**
     * 访问id,资源全局唯一表示
     */
    private String resourceId;

    /**
     * 单片最大大小
     */
    private Long chipFileSize;

    /**
     * 片数量
     * 上传需要从0开始计数
     */
    private Integer chipSize;

    /**
     * 扩展信息
     */
    private Map<String,Object> extInfo = new HashMap<>();
}
